package com.zwj.service;


import com.zwj.pojo.AppInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ByAppinfoService {
//    List<Appinfo> selectList(@Param("querySoftwareName") String querySoftwareName,
//                             @Param("APKName") String APKName, @Param("flatformName") String flatformName, @Param("categoryLevel1Name") String categoryLevel1Name, @Param("categoryLevel2Name") String categoryLevel2Name, @Param("categoryLevel3Name") String categoryLevel3Name, @Param("statusName")String statusName, @Param("softwareSize") String softwareSize, @Param("downloads") String downloads, @Param("versionNo") String versionNo);
List<AppInfo> getAppInfoList(@Param(value = "softwareName") String querySoftwareName,
                             @Param(value = "categoryLevel1") Integer queryCategoryLevel1,
                             @Param(value = "categoryLevel2") Integer queryCategoryLevel2,
                             @Param(value = "categoryLevel3") Integer queryCategoryLevel3,
                             @Param(value = "flatformId") Integer queryFlatformId,
                             @Param(value = "from") Integer currentPageNo,
                             @Param(value = "pageSize") Integer pageSize);

    int getAppInfoCount(@Param(value = "softwareName") String querySoftwareName,
                        @Param(value = "categoryLevel1") Integer queryCategoryLevel1,
                        @Param(value = "categoryLevel2") Integer queryCategoryLevel2,
                        @Param(value = "categoryLevel3") Integer queryCategoryLevel3,
                        @Param(value = "flatformId") Integer queryFlatformId);
    AppInfo  getAppBySelect(int vid, int iid);

    boolean updateSatus(@Param(value = "status") Integer status, @Param(value = "id") Integer id);
}
